package com.ruoyi.inventory.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存盘点记录对象 biz_stock_check
 * 
 * @author ruoyi
 * @date 2025-06-16
 */
public class BizStockCheck extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 盘点ID */
    private Long checkId;

    /** 盘点单号 */
    @Excel(name = "盘点单号")
    private String checkNo;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long productId;

    /** 系统数量 */
    @Excel(name = "系统数量")
    private Long systemQty;

    /** 实际数量 */
    @Excel(name = "实际数量")
    private Long actualQty;

    /** 差异数量 */
    @Excel(name = "差异数量")
    private Long diffQty;

    /** 盘点人 */
    @Excel(name = "盘点人")
    private String checkUser;

    /** 盘点时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "盘点时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkTime;

    public void setCheckId(Long checkId) 
    {
        this.checkId = checkId;
    }

    public Long getCheckId() 
    {
        return checkId;
    }

    public void setCheckNo(String checkNo) 
    {
        this.checkNo = checkNo;
    }

    public String getCheckNo() 
    {
        return checkNo;
    }

    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }

    public void setSystemQty(Long systemQty) 
    {
        this.systemQty = systemQty;
    }

    public Long getSystemQty() 
    {
        return systemQty;
    }

    public void setActualQty(Long actualQty) 
    {
        this.actualQty = actualQty;
    }

    public Long getActualQty() 
    {
        return actualQty;
    }

    public void setDiffQty(Long diffQty) 
    {
        this.diffQty = diffQty;
    }

    public Long getDiffQty() 
    {
        return diffQty;
    }

    public void setCheckUser(String checkUser) 
    {
        this.checkUser = checkUser;
    }

    public String getCheckUser() 
    {
        return checkUser;
    }

    public void setCheckTime(Date checkTime) 
    {
        this.checkTime = checkTime;
    }

    public Date getCheckTime() 
    {
        return checkTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("checkId", getCheckId())
            .append("checkNo", getCheckNo())
            .append("productId", getProductId())
            .append("systemQty", getSystemQty())
            .append("actualQty", getActualQty())
            .append("diffQty", getDiffQty())
            .append("checkUser", getCheckUser())
            .append("checkTime", getCheckTime())
            .append("remark", getRemark())
            .toString();
    }
}
